/**
 * 页面菜单配置,与路由独立存在
 * Created by C on 2017/9/1 0001.
 * 参数设置
 * name: 菜单名
 * icon: 图标
 * route:对应的路由信息,name,query,param
 * children: 子菜单
 */

export const menus = [
  {
    name:'首页',
    icon:'fa-home',
    route: {
      name:'dashboard',
    },
  },
  {
    name:'商品管理',
    icon:'fa-th',
    children:[
      {
        name:'发布商品',
        icon:'',
        route: {
          name:'goodsPublish',
        },
      },
      {
        name:'商品列表',
        icon:'',
        route: {
          name:'goodsList',
        },
      },
      /*{
        name:'店铺类目',
        icon:'',
        route: {
          name:'goodsCategory',
        },
      },*/
    ]
  },
  {
    name:'订单管理',
    icon:'fa-list-alt',
    children:[
      {
        name:'预约租赁',
        icon:'',
        route: {
          name:'orderReservation',
        },
      },
      {
        name:'租赁中',
        icon:'',
        route: {
          name:'orderLease',
        },
      },
      {
        name:'到期退还',
        icon:'',
        route: {
          name:'orderReturn',
        },
      },
      {
        name:'续租管理',
        icon:'',
        route: {
          name:'orderRenew',
        },
      },
      /*{
        name:'买断管理',
        icon:'',
        route: {
          name:'orderBuyout',
        },
      },*/
      {
        name:'已完成',
        icon:'',
        route: {
          name:'orderCompleted',
        },
      },
      {
        name:'已取消',
        icon:'',
        route: {
          name:'orderCancelled',
        },
      },
      {
        name:'订单查询',
        icon:'',
        route: {
          name:'orderInfo',
        },
      },
    ],
  },
  {
    name:'售后管理',
    icon:'fa-list-alt',
    children:[
      {
        name:'维修订单',
        icon:'',
        route: {
          name:'afterServiceRepair',
        },
      },
      {
        name:'退货订单',
        icon:'',
        route: {
          name:'afterServiceReturn',
        },
      },
      {
        name:'换货订单',
        icon:'',
        route: {
          name:'afterServiceChange',
        },
      },
    ],
  },
  {
    name:'资金管理',
    icon:'fa-money',
    children:[
      {
        name:'我的资产',
        icon:'',
        route: {
          name:'assetsIndex',
        },
      },
      {
        name:'租金管理',
        icon:'',
        route: {
          name:'assetsRent',
        },
      },
      {
        name:'赔偿金管理',
        icon:'',
        route: {
          name:'assetsCompensation',
        },
      },
      {
        name:'押金查看',
        icon:'',
        route: {
          name:'assetsDeposit',
        },
      },
      {
        name:'交易流水',
        icon:'',
        route: {
          name:'assetsTrading',
        },
      },
    ]
  },
  {
    name:'客户管理',
    icon:'fa-user',
    children:[
      {
        name:'客户列表',
        icon:'',
        route: {
          name:'customerList',
        },
      },
      {
        name:'客户评论',
        icon:'',
        route: {
          name:'customerComments',
        },
      },
      {
        name:'店铺收藏',
        icon:'',
        route: {
          name:'customerCollectStore',
        },
      },
      {
        name:'商品收藏',
        icon:'',
        route: {
          name:'customerCollectGoods',
        },
      },
    ]
  },
  {
    name:'账户管理',
    icon:'fa-vcard',
    children:[
      {
        name:'账户信息',
        icon:'',
        route: {
          name:'userInfo',
        },
      },
      {
        name:'店铺信息',
        icon:'',
        route: {
          name:'storeInfo',
        },
      },
      {
        name:'修改密码',
        icon:'',
        route: {
          name:'userChangePwd',
        },
      },
      {
        name:'地址管理',
        icon:'',
        route: {
          name:'userAddress',
        },
      },
    ]
  },
  {
    name:'消息中心',
    icon:'fa-envelope',
    route: {
      name:'message',
    },
  },
  /*{
    name:'富文本测试',
    icon:'fa-envelope',
    route: {
      name:'editorTest',
    },
  },*/
];
